package com.ztewatch.wearcontacts.utils;

import android.provider.ContactsContract.Contacts;
import android.provider.ContactsContract.Data;
import android.provider.ContactsContract.RawContacts;

public class ContactQuery {
	public static final String[] COLUMNS = new String[] {
			Contacts.NAME_RAW_CONTACT_ID, Contacts.DISPLAY_NAME_SOURCE,
			Contacts.LOOKUP_KEY, Contacts.DISPLAY_NAME,
			Contacts.DISPLAY_NAME_ALTERNATIVE, Contacts.PHONETIC_NAME,
			Contacts.PHOTO_ID, Contacts.STARRED, Contacts.CONTACT_PRESENCE,
			Contacts.CONTACT_STATUS, Contacts.CONTACT_STATUS_TIMESTAMP,
			Contacts.CONTACT_STATUS_RES_PACKAGE, Contacts.CONTACT_STATUS_LABEL,
			Contacts.Entity.CONTACT_ID, Contacts.Entity.RAW_CONTACT_ID,

			RawContacts.ACCOUNT_NAME, RawContacts.ACCOUNT_TYPE,
			RawContacts.DATA_SET, RawContacts.DIRTY, RawContacts.VERSION,
			RawContacts.SOURCE_ID, RawContacts.SYNC1, RawContacts.SYNC2,
			RawContacts.SYNC3, RawContacts.SYNC4, RawContacts.DELETED,

			Contacts.Entity.DATA_ID, Data.DATA1, Data.DATA2, Data.DATA3,
			Data.DATA4, Data.DATA5, Data.DATA6, Data.DATA7, Data.DATA8,
			Data.DATA9, Data.DATA10, Data.DATA11, Data.DATA12, Data.DATA13,
			Data.DATA14, Data.DATA15, Data.SYNC1, Data.SYNC2, Data.SYNC3,
			Data.SYNC4, Data.DATA_VERSION, Data.IS_PRIMARY,
			Data.IS_SUPER_PRIMARY, Data.MIMETYPE };
	public static final String[] VOICECALL_COLUMNS = new String[]{
		Contacts.Entity.CONTACT_ID,Contacts.Entity.RAW_CONTACT_ID,
		Contacts.Entity.DATA_ID, Data.DATA1, Data.DATA2,Data.MIMETYPE
	};
	public static final int NAME_RAW_CONTACT_ID = 0;
	public static final int DISPLAY_NAME_SOURCE = 1;
	public static final int LOOKUP_KEY = 2;
	public static final int DISPLAY_NAME = 3;
	public static final int ALT_DISPLAY_NAME = 4;
	public static final int PHONETIC_NAME = 5;
	public static final int PHOTO_ID = 6;
	public static final int STARRED = 7;
	public static final int CONTACT_PRESENCE = 8;
	public static final int CONTACT_STATUS = 9;
	public static final int CONTACT_STATUS_TIMESTAMP = 10;
	public static final int CONTACT_STATUS_RES_PACKAGE = 11;
	public static final int CONTACT_STATUS_LABEL = 12;
	public static final int CONTACT_ID = 13;
	public static final int RAW_CONTACT_ID = 14;

	public static final int ACCOUNT_NAME = 15;
	public static final int ACCOUNT_TYPE = 16;
	public static final int DATA_SET = 17;
	public static final int DIRTY = 18;
	public static final int VERSION = 19;
	public static final int SOURCE_ID = 20;
	public static final int SYNC1 = 21;
	public static final int SYNC2 = 22;
	public static final int SYNC3 = 23;
	public static final int SYNC4 = 24;
	public static final int DELETED = 25;

	public static final int DATA_ID = 26;
	public static final int DATA1 = 27;
	public static final int DATA2 = 28;
	public static final int DATA3 = 29;
	public static final int DATA4 = 30;
	public static final int DATA5 = 31;
	public static final int DATA6 = 32;
	public static final int DATA7 = 33;
	public static final int DATA8 = 34;
	public static final int DATA9 = 35;
	public static final int DATA10 = 36;
	public static final int DATA11 = 37;
	public static final int DATA12 = 38;
	public static final int DATA13 = 39;
	public static final int DATA14 = 40;
	public static final int DATA15 = 41;
	public static final int DATA_SYNC1 = 42;
	public static final int DATA_SYNC2 = 43;
	public static final int DATA_SYNC3 = 44;
	public static final int DATA_SYNC4 = 45;
	public static final int DATA_VERSION = 46;
	public static final int IS_PRIMARY = 47;
	public static final int IS_SUPERPRIMARY = 48;
	public static final int MIMETYPE = 49;

	public static final String[] CONTACT_PROJECTION = new String[] {
			Contacts._ID, // 0
			Contacts.DISPLAY_NAME_PRIMARY, // 1
			Contacts.CONTACT_PRESENCE, // 2
			Contacts.CONTACT_STATUS, // 3
			Contacts.PHOTO_ID, // 4
			Contacts.PHOTO_THUMBNAIL_URI, // 5
			Contacts.LOOKUP_KEY, // 6
			RawContacts.SORT_KEY_PRIMARY,//
			RawContacts._ID, Contacts.PINNED, Contacts.STARRED };
	public static final int CONTACT__ID = 0;
	public static final int CONTACT_DISPLAY_NAME = 1;
	public static final int CONTACT_PRESENCE_STATUS = 2;
	public static final int CONTACT_CONTACT_STATUS = 3;
	public static final int CONTACT_PHOTO_ID = 4;
	public static final int CONTACT_PHOTO_URI = 5;
	public static final int CONTACT_LOOKUP_KEY = 6;
	public static final int RAWCONTACT_SORT_KAY = 7;
	public static final int RAWCONTACT_ID = 8;
	public static final int CONTACT_PINNED = 9;
	public static final int CONTACT_STARRED = 10;
}
